package com.yough.api.framework.bean;

import com.yough.api.framework.bean.reflect.MethodParamType;
import com.yough.api.framework.bean.reflect.MethodResultType;

import java.util.List;

/**
 * @Description 对外document文档映射的对象
 * @Author yough
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/7
 */
public class ApiDocumentBean {

    /**
     * 请求参数的类型
     */
    private Class<?> methodParamClassType;

    /**
     * 返回结果参数的类型
     */
    private Class<?> methodResultClassType;

    /**
     * 系统编号
     */
    private String SysNo;
    /**
     * 菜单编号
     */
    private String menuNo;
    /**
     * 菜单名称
     */
    private String menuName;
    /**
     * 父菜单编号
     */
    private String parentMenuNo;
    /**
     * 接口名称
     */
    private String interfaceName;
    /**
     * 接口描述
     */
    private String interfaceDesc;
    /**
     * 请求URI
     */
    private String requestUrl;
    /**
     * 请求方式： GET,POST,PUT,DELETE
     */
    private String requestType;
    /**
     * 请求参数列表
     */
    private List<MethodParamType> requestParams;
    /**
     * 返回参数列表
     */
    private List<MethodResultType> responseTypes;

    public String getSysNo() {
        return SysNo;
    }

    public void setSysNo(String sysNo) {
        SysNo = sysNo;
    }

    public String getMenuNo() {
        return menuNo;
    }

    public void setMenuNo(String menuNo) {
        this.menuNo = menuNo;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getParentMenuNo() {
        return parentMenuNo;
    }

    public void setParentMenuNo(String parentMenuNo) {
        this.parentMenuNo = parentMenuNo;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceDesc() {
        return interfaceDesc;
    }

    public void setInterfaceDesc(String interfaceDesc) {
        this.interfaceDesc = interfaceDesc;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public List<MethodParamType> getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(List<MethodParamType> requestParams) {
        this.requestParams = requestParams;
    }

    public List<MethodResultType> getResponseTypes() {
        return responseTypes;
    }

    public void setResponseTypes(List<MethodResultType> responseTypes) {
        this.responseTypes = responseTypes;
    }

    public Class<?> getMethodParamClassType() {
        return methodParamClassType;
    }

    public void setMethodParamClassType(Class<?> methodParamClassType) {
        this.methodParamClassType = methodParamClassType;
    }

    public Class<?> getMethodResultClassType() {
        return methodResultClassType;
    }

    public void setMethodResultClassType(Class<?> methodResultClassType) {
        this.methodResultClassType = methodResultClassType;
    }
}
